package cn.itsource.hrm.service;

import cn.itsource.hrm.domain.Employee;
import cn.itsource.hrm.domain.dto.LoginUserInfo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ¿­
 * @since 2021-01-15
 */
public interface IEmployeeService extends IService<Employee> {

    boolean isexistUserName(String username);

    /**
     * 查询用户信息和权限
     * @param loginId
     * @return
     */
    LoginUserInfo selectUserInfo(Long loginId);
}
